package tests;

import java.sql.Connection;
import java.sql.SQLException;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import utils.db.api.IDBConnector;
import utils.db.impl.DBConnector;

public class ConnestorTest {
	private IDBConnector db;

	@Before
	public void setUp() {
		db = new DBConnector();
	}

	@After
	public void release() throws SQLException {
		db.closeConnection();
		db = null;
	}

	@Test
	public void test() {

		Connection conn = db.getConnection();

	}
}
